package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 特殊皇冠比例对象 biz_crown_special
 *
 * @author weijianbo
 * @date 2021-05-18
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("biz_crown_special")
public class BizCrownSpecial implements Serializable {

    private static final long serialVersionUID=1L;


    /** 特殊皇冠主键 */
    @TableId(value = "id")
    private Long id;

    /** 商户id */
    @Excel(name = "商户id")
    private Long merchId;

    /** 商户姓名 */
    @Excel(name = "商户姓名")
    private String merchName;

    /** 皇冠比例 */
    @Excel(name = "皇冠比例")
    private BigDecimal crownRatio;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();
}